import { createSSRApp } from 'vue'
import pinia from './stores'
import uviewPlus from 'uview-plus'
import App from './App.vue'
import appHeader from '@/components/app-header/index.vue'
import appSider from '@/components/app-sider/index.vue'
export function createApp() {
  const app = createSSRApp(App)
  app.use(pinia)
  app.use(uviewPlus)
  app.component('app-header', appHeader)
  app.component('app-sider', appSider)
  return {
    app,
  }
}
